package com.cs.manaer;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.ConfigurationPropertiesScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import springfox.documentation.oas.annotations.EnableOpenApi;

@SpringBootApplication
@ConfigurationPropertiesScan(basePackages = {"com.cs.manaer.properties"})
@MapperScan(basePackages = {"com.cs.manaer.dao"})
@EnableTransactionManagement
@EnableOpenApi
public class CustomerMgServiceApplication {

    public static void main(String[] args) {
        SpringApplication.run(CustomerMgServiceApplication.class, args);
    }
}
